HVM: Do not watch control/shutdown to force domain shutdowns when PV
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 12 Apr 2007 11:12:56 +0000 (12:12 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 12 Apr 2007 11:12:56 +0000 (12:12 +0100)
commit69a9bab277d5427be612914d0cad3c5781b18573
tree177219a713ef4b656b50046a58c02e97905ed3a1
parente03858f635bfa0ee2f619f1f2f60575c98dbb564
HVM: Do not watch control/shutdown to force domain shutdowns when PV
drivers are not present. The feature-foo mechanism does not actually
work after save/restore since the fields do not get rewritten. And it
doesn't work when we actually need the guest to be shutdown through
Xen (e.g., on suspend). Since we can quite reasonably assume that the
only entity to screw with control/shutdown is xend, and since the one
place that does that now explicitly handles unenlightened HVM guests,
we can simply strip all this stuff out.

This has the nice benefit of making HVM save/restore with PV drivers
much more reliable.

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/core/reboot.c
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py